import request from '@/utils/clientRequest.js'
let host = '/shengxue'
//登陆
export const identityLogin =(obj) => {
  return request.post(host+'/identity/login',obj)
}
export const sendMessageCode =(obj) => {
  return request.post(host+'/identity/sendMessageCode',obj)
}
//获取默认注册省份班级等信息
let local = '/shengxueApi'
export const getTeacherUserInfoById =(obj) => {
  return request.post(local+'/thirdParty/user/getTeacherUserInfoById',obj)
}
export const getUserInfoById =(obj) => {
  return request.post(local+'/thirdParty/user/getUserInfoById',obj)
}
//获取用户是否vip
export const getMyVip=(userType) => {
  return request.post(local+'/appUserInfoService/myVip',{userType})
}

